﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Document_Add.aspx.cs" Inherits="Customer_Document_Add" MasterPageFile="../MasterPage.master" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Import Namespace="Common" %>


<%@ Register src="Customer_Left.ascx" tagname="Customer_Left" tagprefix="uc1" %>


<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <table cellpadding="0" cellspacing="2" width="100%" border="0">
	<tr>
        <td class="leftTd"  valign="top" width="20%">
            <uc1:Customer_Left ID="Customer_Left1" runat="server" />
        </td>
		<td width="85%" valign="top">
		<table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
			<tr>
		        <td class="leftTd"  valign="top">
		        <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
		        	<tr>
		            	<td class="titleStyle"><%= WebUtility.GetTitleByMenu(MenuType) %></td>
		            </tr>
		        </table>
		            <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                    </asp:ToolkitScriptManager>
		        <br />
		        <table cellpadding="0" cellspacing="1" width="100%" border="0" style="background:#000066;">
	                    <tr>
	                        <td class="leftContent">客户名称：</td>
	                        <td class="RightContent">
                            <asp:HiddenField ID="txt_MUserKey" runat="server" />
	                        <asp:TextBox ID="txt_CustName" runat="server" Width="150px" class="face"></asp:TextBox>
                            <a class="thickbox" href="../Customer/SelectUser.aspx?ParentID=<%= txt_CustName.ClientID %>&ParentID1=<%= txt_MUserKey.ClientID %>&KeepThis=true&TB_iframe=true&height=550&width=800" >选择客户</a>
	                            &nbsp; &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator3" 
                                    runat="server" ControlToValidate="txt_CustName" ErrorMessage="请选择客户"></asp:RequiredFieldValidator>
                            </td>
	                    </tr>
	            </table><br>
		        <asp:TabContainer ID="CustomerInfo" runat="server" ActiveTabIndex="2" Width="100%">
                <asp:TabPanel runat="server" HeaderText="服务器信息" ID="TabPanel1">
                  <ContentTemplate>
                  <!--服务器信息Begin-->
                  <table cellpadding="0" cellspacing="1" width="100%" border="0" style="background:#000066;">
	                    <tr>
	                        <td class="leftContent"> 计算机名称：</td>
	                        <td class="RightContent">
                                <asp:TextBox ID="txt_ServerName1" runat="server" class="face" Width="150px"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">MAC地址：</td>
	                        <td class="RightContent">
	                            <asp:TextBox ID="txt_MAC1" runat="server" class="face" Width="150px"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">IP地址：</td>
	                        <td class="RightContent">
	                             <asp:TextBox ID="txt_IP1" runat="server" Width="150px" class="face"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">域管/用户名：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_UserName1" runat="server" Width="150px" class="face"></asp:TextBox>
	                        </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">密码：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_Password1" runat="server" Width="150px" class="face"></asp:TextBox>
	                        </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">动态域名：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_Domain" runat="server" Width="150px" class="face"></asp:TextBox>
	                            &nbsp; &nbsp;</td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">管理信息：</td>
	                        <td class="RightContent">
	                            <asp:TextBox ID="txt_ManageInfo" runat="server" class="face" Width="308px" 
                                    Height="64px" TextMode="MultiLine"></asp:TextBox>
                             </td>
	                    </tr>
	                     <tr>
                             <td class="leftContent">
                                 其他信息：</td>
                             <td class="RightContent">
                                 <asp:TextBox ID="txt_OtherInfo" runat="server" class="face" Height="64px" 
                                     TextMode="MultiLine" Width="308px"></asp:TextBox>
                                 &nbsp; &nbsp;</td>
                        </tr>
	                     <tr>
	                        <td class="leftContent" style="padding-top:20px;height:30px;" valign="top"></td>
	                        <td class="RightContent">
	                            <asp:Button ID="Button1" runat="server" CssClass="button" 
                                    OnClick="btnSubmit_Click" Text="添 加" />
                                &nbsp;&nbsp;&nbsp;&nbsp;<input class="button" name="btnReset" type="reset" value="重 置"></input></td>
	                    </tr>
	                </table>      
                  <!--服务器信息End-->
                  </ContentTemplate>
                </asp:TabPanel>
                <asp:TabPanel runat="server" HeaderText="客户端信息" ID="TabPanel2">
                  <ContentTemplate>
                  <!--客户端信息Begin-->
                  
	                <table cellpadding="0" cellspacing="1" width="100%" border="0" style="background:#000066;">
	                    <tr>
	                        <td class="leftContent"> 计算机名称：</td>
	                        <td class="RightContent">
                                <asp:TextBox ID="txt_ClientName" runat="server" class="face" Width="150px"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">MAC地址：</td>
	                        <td class="RightContent">
	                            <asp:TextBox ID="txt_MAC2" runat="server" class="face" Width="150px"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent" style="width: 203px">本地IP地址：</td>
	                        <td class="RightContent">
	                             <asp:TextBox ID="txt_IP2" runat="server" Width="150px" class="face"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent" style="width: 203px">无线MAC地址：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_WilessMAC" runat="server" Width="150px" class="face"></asp:TextBox>
	                        </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent" style="width: 203px">无线IP地址：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_WirelessIP" runat="server" Width="150px" class="face"></asp:TextBox>
	                        </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent" style="width: 203px">用户名：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_UserName2" runat="server" Width="150px" class="face"></asp:TextBox>
	                            &nbsp; &nbsp;</td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent" style="width: 203px">密码：</td>
	                        <td class="RightContent">
	                            <asp:TextBox ID="txt_Password2" runat="server" class="face" Width="150px"></asp:TextBox>
                             </td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent" style="padding-top:20px;height:30px; width: 203px;" 
                                 valign="top"></td>
	                        <td class="RightContent">
	                            <asp:Button ID="Button2" runat="server" CssClass="button" 
                                    OnClick="btnSubmit_Click" Text="添 加" />
                                &nbsp;&nbsp;&nbsp;&nbsp;<input class="button" name="btnReset" type="reset" value="重 置"></input></td>
	                    </tr>
	                </table>                  
                  <!--客户端信息End-->
                  </ContentTemplate>
                </asp:TabPanel>
                <asp:TabPanel runat="server" HeaderText="网络/硬件" ID="TabPanel3">
                  <ContentTemplate>
                    <!--网络/硬件Begin-->
                  <table cellpadding="0" cellspacing="1" width="100%" border="0" style="background:#000066;">
	                    <tr>
	                        <td class="leftContent" style="width: 203px"> 外网(ISP/IP/Mask/GateWay/DNS)：</td>
	                        <td class="RightContent">
                                <asp:TextBox ID="txt_OutWeb" runat="server" class="face" Width="200px"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent" style="width: 203px">ADSL型号/账号/密码：</td>
	                        <td class="RightContent">
	                            <asp:TextBox ID="txt_ADSL" runat="server" class="face" Width="150px"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">交换机型号：</td>
	                        <td class="RightContent">
	                             <asp:TextBox ID="txt_SwitchModel" runat="server" Width="150px" class="face"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">路由器型号：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_RouterModel" runat="server" Width="150px" class="face"></asp:TextBox>
	                        </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">IP地址：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_IP3" runat="server" Width="150px" class="face"></asp:TextBox>
	                        </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">登陆名：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_UserName3" runat="server" Width="150px" class="face"></asp:TextBox>
	                            &nbsp; &nbsp;</td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">密码：</td>
	                        <td class="RightContent">
	                            <asp:TextBox ID="txt_Password3" runat="server" class="face" Width="150px"></asp:TextBox>
                             </td>
	                    </tr>
	                     <tr>
                             <td class="leftContent">
                                 MAC：</td>
                             <td class="RightContent">
                                 <asp:TextBox ID="txt_MAC3" runat="server" class="face" Width="150px"></asp:TextBox>
                             </td>
                        </tr>
	                     <tr>
                             <td class="leftContent">
                                 SSID名称：</td>
                             <td class="RightContent">
                                 <asp:TextBox ID="txt_SSID3" runat="server" class="face" Width="150px"></asp:TextBox>
                             </td>
                        </tr>
	                     <tr>
	                        <td class="leftContent">无线密码：</td>
	                        <td class="RightContent">
	                            <asp:TextBox ID="txt_WirelessPwd" runat="server" class="face" Width="150px"></asp:TextBox>
                             </td>
	                    </tr>
	                    <tr>
                            <td class="leftContent" style="padding-top:20px;height:30px;" valign="top">
                            </td>
                            <td class="RightContent">
                                <asp:Button ID="Button3" runat="server" CssClass="button" 
                                    OnClick="btnSubmit_Click" Text="添 加" />
                                &nbsp;&nbsp;&nbsp;&nbsp;<input class="button" name="btnReset" type="reset" value="重 置"></input></td>
                        </tr>
	                </table>      
                  <!--网络/硬件End-->
                  </ContentTemplate>
                </asp:TabPanel>
                <asp:TabPanel runat="server" HeaderText="办公外设" ID="TabPanel4">
                  <ContentTemplate>
                      <!--办公外设Begin-->
                  <table cellpadding="0" cellspacing="1" width="100%" border="0" style="background:#000066;">
	                    <tr>
	                        <td class="leftContent" style="width: 203px"> 名称/型号(打印机)：</td>
	                        <td class="RightContent">
                                <asp:TextBox ID="txt_P_Model" runat="server" class="face" Width="200px"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent" style="width: 203px">IP地址(打印机)：</td>
	                        <td class="RightContent">
	                            <asp:TextBox ID="txt_P_IP" runat="server" class="face" Width="150px"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent"> 共享名(打印机)：</td>
	                        <td class="RightContent">
	                             <asp:TextBox ID="txt_P_ShareName" runat="server" Width="150px" class="face"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">接入点(打印机)：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_P_ConnectPoint" runat="server" Width="150px" class="face"></asp:TextBox>
	                        </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">名称/型号(传真机)：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_F_Model" runat="server" Width="150px" class="face"></asp:TextBox>
	                        </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">直线号码(传真机)：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_F_Tel" runat="server" Width="150px" class="face"></asp:TextBox>
	                            &nbsp; &nbsp;</td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">分机号码(传真机)：</td>
	                        <td class="RightContent">
	                            <asp:TextBox ID="txt_F_Ext" runat="server" class="face" Width="150px"></asp:TextBox>
                             </td>
	                    </tr>
	                     <tr>
                             <td class="leftContent">
                                 名称/型号(其他)：</td>
                             <td class="RightContent">
                                 <asp:TextBox ID="txt_O_Model" runat="server" class="face" Width="150px"></asp:TextBox>
                             </td>
                        </tr>
	                     <tr>
                             <td class="leftContent">
                                 备注(其他)：</td>
                             <td class="RightContent">
                                 <asp:TextBox ID="txt_O_Remark" runat="server" class="face" Width="150px"></asp:TextBox>
                             </td>
                        </tr>
	                    <tr>
                            <td class="leftContent" style="padding-top:20px;height:30px;" valign="top">
                            </td>
                            <td class="RightContent">
                                <asp:Button ID="Button4" runat="server" CssClass="button" 
                                    OnClick="btnSubmit_Click" Text="添 加" />
                                &nbsp;&nbsp;&nbsp;&nbsp;<input class="button" name="btnReset" type="reset" value="重 置"></input></td>
                        </tr>
	                </table>      
                  <!--办公外设End-->
                  </ContentTemplate>
                </asp:TabPanel>
                <asp:TabPanel runat="server" HeaderText="应用软件" ID="TabPanel5">
                   <ContentTemplate>
                      <!--应用软件Begin-->
                  <table cellpadding="0" cellspacing="1" width="100%" border="0" style="background:#000066;">
	                    <tr>
	                        <td class="leftContent" style="width: 203px"> ERP软件名称：</td>
	                        <td class="RightContent">
                                <asp:TextBox ID="txt_SoftName" runat="server" class="face" Width="200px"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent" style="width: 203px">服务器名称/IP/MAC：</td>
	                        <td class="RightContent">
	                            <asp:TextBox ID="txt_ServerName5" runat="server" class="face" Width="150px"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent"> 管理员：</td>
	                        <td class="RightContent">
	                             <asp:TextBox ID="txt_Admin" runat="server" Width="150px" class="face"></asp:TextBox>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">密码：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_AdminPwd" runat="server" Width="150px" class="face"></asp:TextBox>
	                        </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">固定软件清单：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_SoftList" runat="server" Width="150px" class="face"></asp:TextBox>
	                        </td>
	                    </tr>
	                    <tr>
                            <td class="leftContent" style="padding-top:20px;height:30px;" valign="top">
                            </td>
                            <td class="RightContent">
                                <asp:Button ID="Button5" runat="server" CssClass="button" 
                                    OnClick="btnSubmit_Click" Text="添 加" />
                                &nbsp;&nbsp;&nbsp;&nbsp;<input class="button" name="btnReset" type="reset" value="重 置"></input></td>
                        </tr>
	                </table>      
                  <!--应用软件End-->
                   </ContentTemplate>
                </asp:TabPanel>
            </asp:TabContainer>
				</td>
		    </tr>
		</table>
        </td>
    </tr>
</table>
</asp:Content>

